home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Freeware / Adobe Air 1.5 / AdobeAIRInstaller.exe / Adobe AIR / Versions / 1.0 / Adobe AIR Application Installer.swf / scripts / SecurityInfo.as < prev    next >
Text File  |  2008-10-29  |  26KB  |  762 lines

  1. package
  2. {
  3.    import components.LocalizedLabel;
  4.    import components.LocalizedText;
  5.    import flash.display.DisplayObject;
  6.    import flash.events.Event;
  7.    import flash.events.MouseEvent;
  8.    import flash.utils.getDefinitionByName;
  9.    import mx.binding.Binding;
  10.    import mx.binding.BindingManager;
  11.    import mx.binding.IBindingClient;
  12.    import mx.binding.IWatcherSetupUtil;
  13.    import mx.containers.HBox;
  14.    import mx.containers.VBox;
  15.    import mx.controls.HRule;
  16.    import mx.controls.Image;
  17.    import mx.controls.LinkButton;
  18.    import mx.controls.Spacer;
  19.    import mx.core.DeferredInstanceFromFunction;
  20.    import mx.core.UIComponentDescriptor;
  21.    import mx.core.mx_internal;
  22.    import mx.events.PropertyChangeEvent;
  23.    import mx.states.AddChild;
  24.    import mx.states.RemoveChild;
  25.    import mx.states.State;
  26.    import mx.styles.CSSStyleDeclaration;
  27.    
  28.    use namespace mx_internal;
  29.    
  30.    public class SecurityInfo extends VBox implements IBindingClient
  31.    {
  32.       
  33.       private static var _watcherSetupUtil:IWatcherSetupUtil;
  34.        
  35.       
  36.       private var _1869917749airPackageIcon:Class;
  37.       
  38.       public var _SecurityInfo_LocalizedText2:LocalizedText;
  39.       
  40.       private var _documentDescriptor_:UIComponentDescriptor;
  41.       
  42.       private var _354487367systemAccessField:LocalizedLabel;
  43.       
  44.       private var _229542092greenCircleIcon:Class;
  45.       
  46.       mx_internal var _watchers:Array;
  47.       
  48.       private var _992840477airIcon:Class;
  49.       
  50.       private var _2057878774redSecurityIcon:Class;
  51.       
  52.       private var _2018223089accessStatusIcon:Image;
  53.       
  54.       private var _1197773823appIconBG:Class;
  55.       
  56.       private var _1654957862redCircleIcon:Class;
  57.       
  58.       private var _265384475moreOptionsButton:LinkButton;
  59.       
  60.       public var _SecurityInfo_LocalizedLabel2:LocalizedLabel;
  61.       
  62.       public var _SecurityInfo_Image1:Image;
  63.       
  64.       mx_internal var _bindingsByDestination:Object;
  65.       
  66.       public var _SecurityInfo_RemoveChild1:RemoveChild;
  67.       
  68.       mx_internal var _bindingsBeginWithWord:Object;
  69.       
  70.       private var _703057299yellowSecurityIcon:Class;
  71.       
  72.       mx_internal var _bindings:Array;
  73.       
  74.       private var _406672806identityVerified:Boolean = false;
  75.       
  76.       private var _embed_mxml_assets_down_arrow_png_1113717148:Class;
  77.       
  78.       private var _1707366196redBlockedIcon:Class;
  79.       
  80.       public function SecurityInfo()
  81.       {
  82.          this._documentDescriptor_ = new UIComponentDescriptor({
  83.             "type":VBox,
  84.             "propertiesFactory":function():Object
  85.             {
  86.                return {"childDescriptors":[new UIComponentDescriptor({
  87.                   "type":Spacer,
  88.                   "propertiesFactory":function():Object
  89.                   {
  90.                      return {"height":14};
  91.                   }
  92.                }),new UIComponentDescriptor({
  93.                   "type":HRule,
  94.                   "propertiesFactory":function():Object
  95.                   {
  96.                      return {
  97.                         "percentWidth":100,
  98.                         "height":2
  99.                      };
  100.                   }
  101.                }),new UIComponentDescriptor({
  102.                   "type":LinkButton,
  103.                   "id":"moreOptionsButton",
  104.                   "events":{
  105.                      "addedToStage":"__moreOptionsButton_addedToStage",
  106.                      "removedFromStage":"__moreOptionsButton_removedFromStage",
  107.                      "click":"__moreOptionsButton_click"
  108.                   },
  109.                   "stylesFactory":function():void
  110.                   {
  111.                      this.icon = _embed_mxml_assets_down_arrow_png_1113717148;
  112.                   },
  113.                   "propertiesFactory":function():Object
  114.                   {
  115.                      return {
  116.                         "labelPlacement":"left",
  117.                         "visible":false
  118.                      };
  119.                   }
  120.                })]};
  121.             }
  122.          });
  123.          this._992840477airIcon = SecurityInfo_airIcon;
  124.          this._1869917749airPackageIcon = SecurityInfo_airPackageIcon;
  125.          this._703057299yellowSecurityIcon = SecurityInfo_yellowSecurityIcon;
  126.          this._2057878774redSecurityIcon = SecurityInfo_redSecurityIcon;
  127.          this._1707366196redBlockedIcon = SecurityInfo_redBlockedIcon;
  128.          this._1654957862redCircleIcon = SecurityInfo_redCircleIcon;
  129.          this._229542092greenCircleIcon = SecurityInfo_greenCircleIcon;
  130.          this._1197773823appIconBG = SecurityInfo_appIconBG;
  131.          this._embed_mxml_assets_down_arrow_png_1113717148 = SecurityInfo__embed_mxml_assets_down_arrow_png_1113717148;
  132.          this._bindings = [];
  133.          this._watchers = [];
  134.          this._bindingsByDestination = {};
  135.          this._bindingsBeginWithWord = {};
  136.          super();
  137.          mx_internal::_document = this;
  138.          if(!this.styleDeclaration)
  139.          {
  140.             this.styleDeclaration = new CSSStyleDeclaration();
  141.          }
  142.          this.styleDeclaration.defaultFactory = function():void
  143.          {
  144.             this.verticalGap = 0;
  145.          };
  146.          this.states = [this._SecurityInfo_State1_c()];
  147.       }
  148.       
  149.       public static function set watcherSetupUtil(param1:IWatcherSetupUtil) : void
  150.       {
  151.          SecurityInfo._watcherSetupUtil = param1;
  152.       }
  153.       
  154.       public function __moreOptionsButton_click(param1:MouseEvent) : void
  155.       {
  156.          this.openPanel();
  157.       }
  158.       
  159.       public function __moreOptionsButton_removedFromStage(param1:Event) : void
  160.       {
  161.          this.moreOptionsButton.visible = false;
  162.       }
  163.       
  164.       [Bindable(event="propertyChange")]
  165.       private function get redSecurityIcon() : Class
  166.       {
  167.          return this._2057878774redSecurityIcon;
  168.       }
  169.       
  170.       private function _SecurityInfo_LocalizedLabel4_i() : LocalizedLabel
  171.       {
  172.          var _loc1_:LocalizedLabel = new LocalizedLabel();
  173.          this.systemAccessField = _loc1_;
  174.          _loc1_.resourceName = "lblUnrestricted";
  175.          _loc1_.bundleName = "SecurityInfo";
  176.          _loc1_.styleName = "formItemText";
  177.          _loc1_.id = "systemAccessField";
  178.          if(!_loc1_.document)
  179.          {
  180.             _loc1_.document = this;
  181.          }
  182.          return _loc1_;
  183.       }
  184.       
  185.       [Bindable(event="propertyChange")]
  186.       public function get accessStatusIcon() : Image
  187.       {
  188.          return this._2018223089accessStatusIcon;
  189.       }
  190.       
  191.       private function _SecurityInfo_bindingExprs() : void
  192.       {
  193.          var _loc1_:* = undefined;
  194.          _loc1_ = LocalizationManager.getInstance().getString("lblMoreOptions","SecurityInfo");
  195.          _loc1_ = this.moreOptionsButton;
  196.          _loc1_ = !!this.identityVerified ? this.greenCircleIcon : this.redCircleIcon;
  197.          _loc1_ = !!this.identityVerified ? "lblVerified" : "lblUnknown";
  198.          _loc1_ = !this.identityVerified;
  199.          _loc1_ = !this.identityVerified;
  200.          _loc1_ = this.redCircleIcon;
  201.       }
  202.       
  203.       public function set systemAccessField(param1:LocalizedLabel) : void
  204.       {
  205.          var _loc2_:Object = this._354487367systemAccessField;
  206.          if(_loc2_ !== param1)
  207.          {
  208.             this._354487367systemAccessField = param1;
  209.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"systemAccessField",_loc2_,param1));
  210.          }
  211.       }
  212.       
  213.       private function _SecurityInfo_Spacer2_c() : Spacer
  214.       {
  215.          var _loc1_:Spacer = new Spacer();
  216.          _loc1_.height = 12;
  217.          if(!_loc1_.document)
  218.          {
  219.             _loc1_.document = this;
  220.          }
  221.          return _loc1_;
  222.       }
  223.       
  224.       private function _SecurityInfo_Spacer4_c() : Spacer
  225.       {
  226.          var _loc1_:Spacer = new Spacer();
  227.          _loc1_.height = 10;
  228.          if(!_loc1_.document)
  229.          {
  230.             _loc1_.document = this;
  231.          }
  232.          return _loc1_;
  233.       }
  234.       
  235.       [Bindable(event="propertyChange")]
  236.       public function get moreOptionsButton() : LinkButton
  237.       {
  238.          return this._265384475moreOptionsButton;
  239.       }
  240.       
  241.       public function set accessStatusIcon(param1:Image) : void
  242.       {
  243.          var _loc2_:Object = this._2018223089accessStatusIcon;
  244.          if(_loc2_ !== param1)
  245.          {
  246.             this._2018223089accessStatusIcon = param1;
  247.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"accessStatusIcon",_loc2_,param1));
  248.          }
  249.       }
  250.       
  251.       private function _SecurityInfo_HBox2_c() : HBox
  252.       {
  253.          var _loc1_:HBox = new HBox();
  254.          if(!_loc1_.document)
  255.          {
  256.             _loc1_.document = this;
  257.          }
  258.          _loc1_.addChild(this._SecurityInfo_LocalizedLabel1_c());
  259.          _loc1_.addChild(this._SecurityInfo_LocalizedLabel2_i());
  260.          return _loc1_;
  261.       }
  262.       
  263.       private function _SecurityInfo_HBox4_c() : HBox
  264.       {
  265.          var _loc1_:HBox = new HBox();
  266.          if(!_loc1_.document)
  267.          {
  268.             _loc1_.document = this;
  269.          }
  270.          _loc1_.addChild(this._SecurityInfo_LocalizedLabel3_c());
  271.          _loc1_.addChild(this._SecurityInfo_LocalizedLabel4_i());
  272.          return _loc1_;
  273.       }
  274.       
  275.       public function __moreOptionsButton_addedToStage(param1:Event) : void
  276.       {
  277.          this.moreOptionsButton.visible = true;
  278.       }
  279.       
  280.       private function _SecurityInfo_AddChild1_c() : AddChild
  281.       {
  282.          var _loc1_:AddChild = new AddChild();
  283.          _loc1_.targetFactory = new DeferredInstanceFromFunction(this._SecurityInfo_Spacer2_c);
  284.          return _loc1_;
  285.       }
  286.       
  287.       private function _SecurityInfo_LocalizedLabel1_c() : LocalizedLabel
  288.       {
  289.          var _loc1_:LocalizedLabel = new LocalizedLabel();
  290.          _loc1_.resourceName = "lblPublisherIdentity";
  291.          _loc1_.bundleName = "SecurityInfo";
  292.          _loc1_.minWidth = 115;
  293.          if(!_loc1_.document)
  294.          {
  295.             _loc1_.document = this;
  296.          }
  297.          return _loc1_;
  298.       }
  299.       
  300.       private function _SecurityInfo_LocalizedLabel3_c() : LocalizedLabel
  301.       {
  302.          var _loc1_:LocalizedLabel = new LocalizedLabel();
  303.          _loc1_.resourceName = "lblSystemAccess";
  304.          _loc1_.bundleName = "SecurityInfo";
  305.          _loc1_.minWidth = 115;
  306.          if(!_loc1_.document)
  307.          {
  308.             _loc1_.document = this;
  309.          }
  310.          return _loc1_;
  311.       }
  312.       
  313.       [Bindable(event="propertyChange")]
  314.       public function get identityVerified() : Boolean
  315.       {
  316.          return this._406672806identityVerified;
  317.       }
  318.       
  319.       private function _SecurityInfo_LocalizedText1_c() : LocalizedText
  320.       {
  321.          var _loc1_:LocalizedText = new LocalizedText();
  322.          _loc1_.percentWidth = 100;
  323.          _loc1_.useHTML = true;
  324.          _loc1_.resourceName = "msgPotentialSecurityRisk";
  325.          _loc1_.bundleName = "SecurityInfo";
  326.          if(!_loc1_.document)
  327.          {
  328.             _loc1_.document = this;
  329.          }
  330.          return _loc1_;
  331.       }
  332.       
  333.       private function _SecurityInfo_VBox2_c() : VBox
  334.       {
  335.          var _loc1_:VBox = new VBox();
  336.          _loc1_.percentWidth = 100;
  337.          _loc1_.setStyle("verticalGap",0);
  338.          if(!_loc1_.document)
  339.          {
  340.             _loc1_.document = this;
  341.          }
  342.          _loc1_.addChild(this._SecurityInfo_LocalizedText1_c());
  343.          _loc1_.addChild(this._SecurityInfo_Spacer3_c());
  344.          _loc1_.addChild(this._SecurityInfo_HBox1_c());
  345.          _loc1_.addChild(this._SecurityInfo_Spacer4_c());
  346.          _loc1_.addChild(this._SecurityInfo_HBox3_c());
  347.          return _loc1_;
  348.       }
  349.       
  350.       override public function initialize() : void
  351.       {
  352.          var target:SecurityInfo = null;
  353.          var watcherSetupUtilClass:Object = null;
  354.          mx_internal::setDocumentDescriptor(this._documentDescriptor_);
  355.          var bindings:Array = this._SecurityInfo_bindingsSetup();
  356.          var watchers:Array = [];
  357.          target = this;
  358.          if(_watcherSetupUtil == null)
  359.          {
  360.             watcherSetupUtilClass = getDefinitionByName("_SecurityInfoWatcherSetupUtil");
  361.             watcherSetupUtilClass["init"](null);
  362.          }
  363.          _watcherSetupUtil.setup(this,function(param1:String):*
  364.          {
  365.             return target[param1];
  366.          },bindings,watchers);
  367.          var i:uint = 0;
  368.          while(i < bindings.length)
  369.          {
  370.             Binding(bindings[i]).execute();
  371.             i++;
  372.          }
  373.          mx_internal::_bindings = mx_internal::_bindings.concat(bindings);
  374.          mx_internal::_watchers = mx_internal::_watchers.concat(watchers);
  375.          super.initialize();
  376.       }
  377.       
  378.       [Bindable(event="propertyChange")]
  379.       private function get redBlockedIcon() : Class
  380.       {
  381.          return this._1707366196redBlockedIcon;
  382.       }
  383.       
  384.       [Bindable(event="propertyChange")]
  385.       private function get airPackageIcon() : Class
  386.       {
  387.          return this._1869917749airPackageIcon;
  388.       }
  389.       
  390.       private function _SecurityInfo_State1_c() : State
  391.       {
  392.          var _loc1_:State = new State();
  393.          _loc1_.name = "opened";
  394.          _loc1_.overrides = [this._SecurityInfo_RemoveChild1_i(),this._SecurityInfo_AddChild1_c(),this._SecurityInfo_AddChild2_c()];
  395.          return _loc1_;
  396.       }
  397.       
  398.       private function _SecurityInfo_Image1_i() : Image
  399.       {
  400.          var _loc1_:Image = new Image();
  401.          this._SecurityInfo_Image1 = _loc1_;
  402.          _loc1_.id = "_SecurityInfo_Image1";
  403.          BindingManager.executeBindings(this,"_SecurityInfo_Image1",this._SecurityInfo_Image1);
  404.          if(!_loc1_.document)
  405.          {
  406.             _loc1_.document = this;
  407.          }
  408.          return _loc1_;
  409.       }
  410.       
  411.       public function set moreOptionsButton(param1:LinkButton) : void
  412.       {
  413.          var _loc2_:Object = this._265384475moreOptionsButton;
  414.          if(_loc2_ !== param1)
  415.          {
  416.             this._265384475moreOptionsButton = param1;
  417.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"moreOptionsButton",_loc2_,param1));
  418.          }
  419.       }
  420.       
  421.       private function _SecurityInfo_VBox4_c() : VBox
  422.       {
  423.          var _loc1_:VBox = new VBox();
  424.          _loc1_.percentWidth = 100;
  425.          _loc1_.setStyle("horizontalAlign","left");
  426.          _loc1_.setStyle("verticalGap",-3);
  427.          if(!_loc1_.document)
  428.          {
  429.             _loc1_.document = this;
  430.          }
  431.          _loc1_.addChild(this._SecurityInfo_HBox4_c());
  432.          _loc1_.addChild(this._SecurityInfo_LocalizedText3_c());
  433.          return _loc1_;
  434.       }
  435.       
  436.       private function set redSecurityIcon(param1:Class) : void
  437.       {
  438.          var _loc2_:Object = this._2057878774redSecurityIcon;
  439.          if(_loc2_ !== param1)
  440.          {
  441.             this._2057878774redSecurityIcon = param1;
  442.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"redSecurityIcon",_loc2_,param1));
  443.          }
  444.       }
  445.       
  446.       private function _SecurityInfo_LocalizedText3_c() : LocalizedText
  447.       {
  448.          var _loc1_:LocalizedText = new LocalizedText();
  449.          _loc1_.resourceName = "lblFullAccess";
  450.          _loc1_.bundleName = "SecurityInfo";
  451.          _loc1_.percentWidth = 100;
  452.          if(!_loc1_.document)
  453.          {
  454.             _loc1_.document = this;
  455.          }
  456.          return _loc1_;
  457.       }
  458.       
  459.       private function set greenCircleIcon(param1:Class) : void
  460.       {
  461.          var _loc2_:Object = this._229542092greenCircleIcon;
  462.          if(_loc2_ !== param1)
  463.          {
  464.             this._229542092greenCircleIcon = param1;
  465.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"greenCircleIcon",_loc2_,param1));
  466.          }
  467.       }
  468.       
  469.       private function set airIcon(param1:Class) : void
  470.       {
  471.          var _loc2_:Object = this._992840477airIcon;
  472.          if(_loc2_ !== param1)
  473.          {
  474.             this._992840477airIcon = param1;
  475.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"airIcon",_loc2_,param1));
  476.          }
  477.       }
  478.       
  479.       [Bindable(event="propertyChange")]
  480.       public function get systemAccessField() : LocalizedLabel
  481.       {
  482.          return this._354487367systemAccessField;
  483.       }
  484.       
  485.       [Bindable(event="propertyChange")]
  486.       private function get appIconBG() : Class
  487.       {
  488.          return this._1197773823appIconBG;
  489.       }
  490.       
  491.       [Bindable(event="propertyChange")]
  492.       private function get greenCircleIcon() : Class
  493.       {
  494.          return this._229542092greenCircleIcon;
  495.       }
  496.       
  497.       private function set redCircleIcon(param1:Class) : void
  498.       {
  499.          var _loc2_:Object = this._1654957862redCircleIcon;
  500.          if(_loc2_ !== param1)
  501.          {
  502.             this._1654957862redCircleIcon = param1;
  503.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"redCircleIcon",_loc2_,param1));
  504.          }
  505.       }
  506.       
  507.       private function _SecurityInfo_Spacer3_c() : Spacer
  508.       {
  509.          var _loc1_:Spacer = new Spacer();
  510.          _loc1_.height = 10;
  511.          if(!_loc1_.document)
  512.          {
  513.             _loc1_.document = this;
  514.          }
  515.          return _loc1_;
  516.       }
  517.       
  518.       public function openPanel() : void
  519.       {
  520.          currentState = "opened";
  521.          stage.stageHeight = 315;
  522.       }
  523.       
  524.       public function set identityVerified(param1:Boolean) : void
  525.       {
  526.          var _loc2_:Object = this._406672806identityVerified;
  527.          if(_loc2_ !== param1)
  528.          {
  529.             this._406672806identityVerified = param1;
  530.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"identityVerified",_loc2_,param1));
  531.          }
  532.       }
  533.       
  534.       private function _SecurityInfo_bindingsSetup() : Array
  535.       {
  536.          var binding:Binding = null;
  537.          var result:Array = [];
  538.          binding = new Binding(this,function():String
  539.          {
  540.             var _loc1_:* = LocalizationManager.getInstance().getString("lblMoreOptions","SecurityInfo");
  541.             return _loc1_ == undefined ? null : String(_loc1_);
  542.          },function(param1:String):void
  543.          {
  544.             moreOptionsButton.label = param1;
  545.          },"moreOptionsButton.label");
  546.          result[0] = binding;
  547.          binding = new Binding(this,function():DisplayObject
  548.          {
  549.             return moreOptionsButton;
  550.          },function(param1:DisplayObject):void
  551.          {
  552.             _SecurityInfo_RemoveChild1.target = param1;
  553.          },"_SecurityInfo_RemoveChild1.target");
  554.          result[1] = binding;
  555.          binding = new Binding(this,function():Object
  556.          {
  557.             return !!identityVerified ? greenCircleIcon : redCircleIcon;
  558.          },function(param1:Object):void
  559.          {
  560.             _SecurityInfo_Image1.source = param1;
  561.          },"_SecurityInfo_Image1.source");
  562.          result[2] = binding;
  563.          binding = new Binding(this,function():String
  564.          {
  565.             var _loc1_:* = !!identityVerified ? "lblVerified" : "lblUnknown";
  566.             return _loc1_ == undefined ? null : String(_loc1_);
  567.          },function(param1:String):void
  568.          {
  569.             _SecurityInfo_LocalizedLabel2.resourceName = param1;
  570.          },"_SecurityInfo_LocalizedLabel2.resourceName");
  571.          result[3] = binding;
  572.          binding = new Binding(this,function():Boolean
  573.          {
  574.             return !identityVerified;
  575.          },function(param1:Boolean):void
  576.          {
  577.             _SecurityInfo_LocalizedText2.includeInLayout = param1;
  578.          },"_SecurityInfo_LocalizedText2.includeInLayout");
  579.          result[4] = binding;
  580.          binding = new Binding(this,function():Boolean
  581.          {
  582.             return !identityVerified;
  583.          },function(param1:Boolean):void
  584.          {
  585.             _SecurityInfo_LocalizedText2.visible = param1;
  586.          },"_SecurityInfo_LocalizedText2.visible");
  587.          result[5] = binding;
  588.          binding = new Binding(this,function():Object
  589.          {
  590.             return redCircleIcon;
  591.          },function(param1:Object):void
  592.          {
  593.             accessStatusIcon.source = param1;
  594.          },"accessStatusIcon.source");
  595.          result[6] = binding;
  596.          return result;
  597.       }
  598.       
  599.       [Bindable(event="propertyChange")]
  600.       private function get redCircleIcon() : Class
  601.       {
  602.          return this._1654957862redCircleIcon;
  603.       }
  604.       
  605.       private function _SecurityInfo_HBox1_c() : HBox
  606.       {
  607.          var _loc1_:HBox = new HBox();
  608.          _loc1_.percentWidth = 100;
  609.          _loc1_.setStyle("verticalAlign","top");
  610.          _loc1_.setStyle("horizontalGap",14);
  611.          if(!_loc1_.document)
  612.          {
  613.             _loc1_.document = this;
  614.          }
  615.          _loc1_.addChild(this._SecurityInfo_Image1_i());
  616.          _loc1_.addChild(this._SecurityInfo_VBox3_c());
  617.          return _loc1_;
  618.       }
  619.       
  620.       [Bindable(event="propertyChange")]
  621.       private function get airIcon() : Class
  622.       {
  623.          return this._992840477airIcon;
  624.       }
  625.       
  626.       private function _SecurityInfo_LocalizedText2_i() : LocalizedText
  627.       {
  628.          var _loc1_:LocalizedText = new LocalizedText();
  629.          this._SecurityInfo_LocalizedText2 = _loc1_;
  630.          _loc1_.percentWidth = 100;
  631.          _loc1_.resourceName = "lblPublisherUndetermined";
  632.          _loc1_.bundleName = "SecurityInfo";
  633.          _loc1_.id = "_SecurityInfo_LocalizedText2";
  634.          BindingManager.executeBindings(this,"_SecurityInfo_LocalizedText2",this._SecurityInfo_LocalizedText2);
  635.          if(!_loc1_.document)
  636.          {
  637.             _loc1_.document = this;
  638.          }
  639.          return _loc1_;
  640.       }
  641.       
  642.       private function _SecurityInfo_AddChild2_c() : AddChild
  643.       {
  644.          var _loc1_:AddChild = new AddChild();
  645.          _loc1_.targetFactory = new DeferredInstanceFromFunction(this._SecurityInfo_VBox2_c);
  646.          return _loc1_;
  647.       }
  648.       
  649.       private function set airPackageIcon(param1:Class) : void
  650.       {
  651.          var _loc2_:Object = this._1869917749airPackageIcon;
  652.          if(_loc2_ !== param1)
  653.          {
  654.             this._1869917749airPackageIcon = param1;
  655.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"airPackageIcon",_loc2_,param1));
  656.          }
  657.       }
  658.       
  659.       private function set redBlockedIcon(param1:Class) : void
  660.       {
  661.          var _loc2_:Object = this._1707366196redBlockedIcon;
  662.          if(_loc2_ !== param1)
  663.          {
  664.             this._1707366196redBlockedIcon = param1;
  665.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"redBlockedIcon",_loc2_,param1));
  666.          }
  667.       }
  668.       
  669.       private function _SecurityInfo_VBox3_c() : VBox
  670.       {
  671.          var _loc1_:VBox = new VBox();
  672.          _loc1_.percentWidth = 100;
  673.          _loc1_.setStyle("horizontalAlign","left");
  674.          _loc1_.setStyle("verticalGap",-3);
  675.          if(!_loc1_.document)
  676.          {
  677.             _loc1_.document = this;
  678.          }
  679.          _loc1_.addChild(this._SecurityInfo_HBox2_c());
  680.          _loc1_.addChild(this._SecurityInfo_LocalizedText2_i());
  681.          return _loc1_;
  682.       }
  683.       
  684.       private function _SecurityInfo_LocalizedLabel2_i() : LocalizedLabel
  685.       {
  686.          var _loc1_:LocalizedLabel = new LocalizedLabel();
  687.          this._SecurityInfo_LocalizedLabel2 = _loc1_;
  688.          _loc1_.bundleName = "SecurityInfo";
  689.          _loc1_.styleName = "formItemText";
  690.          _loc1_.id = "_SecurityInfo_LocalizedLabel2";
  691.          BindingManager.executeBindings(this,"_SecurityInfo_LocalizedLabel2",this._SecurityInfo_LocalizedLabel2);
  692.          if(!_loc1_.document)
  693.          {
  694.             _loc1_.document = this;
  695.          }
  696.          return _loc1_;
  697.       }
  698.       
  699.       private function set yellowSecurityIcon(param1:Class) : void
  700.       {
  701.          var _loc2_:Object = this._703057299yellowSecurityIcon;
  702.          if(_loc2_ !== param1)
  703.          {
  704.             this._703057299yellowSecurityIcon = param1;
  705.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"yellowSecurityIcon",_loc2_,param1));
  706.          }
  707.       }
  708.       
  709.       private function _SecurityInfo_Image2_i() : Image
  710.       {
  711.          var _loc1_:Image = new Image();
  712.          this.accessStatusIcon = _loc1_;
  713.          _loc1_.id = "accessStatusIcon";
  714.          BindingManager.executeBindings(this,"accessStatusIcon",this.accessStatusIcon);
  715.          if(!_loc1_.document)
  716.          {
  717.             _loc1_.document = this;
  718.          }
  719.          return _loc1_;
  720.       }
  721.       
  722.       [Bindable(event="propertyChange")]
  723.       private function get yellowSecurityIcon() : Class
  724.       {
  725.          return this._703057299yellowSecurityIcon;
  726.       }
  727.       
  728.       private function _SecurityInfo_RemoveChild1_i() : RemoveChild
  729.       {
  730.          var _loc1_:RemoveChild = new RemoveChild();
  731.          this._SecurityInfo_RemoveChild1 = _loc1_;
  732.          BindingManager.executeBindings(this,"_SecurityInfo_RemoveChild1",this._SecurityInfo_RemoveChild1);
  733.          return _loc1_;
  734.       }
  735.       
  736.       private function _SecurityInfo_HBox3_c() : HBox
  737.       {
  738.          var _loc1_:HBox = new HBox();
  739.          _loc1_.percentWidth = 100;
  740.          _loc1_.setStyle("verticalAlign","top");
  741.          _loc1_.setStyle("horizontalGap",14);
  742.          if(!_loc1_.document)
  743.          {
  744.             _loc1_.document = this;
  745.          }
  746.          _loc1_.addChild(this._SecurityInfo_Image2_i());
  747.          _loc1_.addChild(this._SecurityInfo_VBox4_c());
  748.          return _loc1_;
  749.       }
  750.       
  751.       private function set appIconBG(param1:Class) : void
  752.       {
  753.          var _loc2_:Object = this._1197773823appIconBG;
  754.          if(_loc2_ !== param1)
  755.          {
  756.             this._1197773823appIconBG = param1;
  757.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"appIconBG",_loc2_,param1));
  758.          }
  759.       }
  760.    }
  761. }
  762.